package com.ruoyi.common.enums;

/**
 * 设备子状态枚举类
 *
 * @author yinjc
 */
public enum EqpSubStateEnum {
    REW01("01-REW", "Productive", "Available")
    ,RUN01("01-RUN", "Productive", "Available")
    ,IDLE02("02-IDLE", "Productive", "Available")
    ,DOWN03("03-DOWN", "Nonscheduled", "Unavailable")
    ,POST03("03-POST", "Nonscheduled", "Unavailable")
    ,REP03("03-REP", "Nonscheduled", "Unavailable")
    ,PM04("04-PM", "Scheduled", "Unavailable")
    ,POST04("04-POST", "Scheduled", "Unavailable")
    ,I0105("05-I01", "Scheduled", "Unavailable")
    ,I0205("05-I02", "Nonscheduled", "Unavailable")
    ,QC06("06-QC", "Scheduled", "Unavailable")
    ,SETUP06("06-SETUP", "Productive", "Available")
    ,SetUp06("06-SetUp", "Nonproductive", "Available")
    ,PRUN07("07-PRUN", "Nonscheduled", "Unavailable")
    ,TUNE07("07-TUNE", "Nonscheduled", "Unavailable")
    ;

    private final String subState;
    private final String state;
    private final String comClass;

    EqpSubStateEnum(String subState, String state, String comClass) {
        this.subState = subState;
        this.state = state;
        this.comClass = comClass;
    }

    public String getComClass() {
        return comClass;
    }

    public String getState() {
        return state;
    }

    public String getSubState() {
        return subState;
    }
}
